﻿using System.Linq;
namespace MMS.Model
{
    public partial class TradeInfo
    {
        public TradeInfo ToPOCO(bool self)
        {
            return new TradeInfo()
            {
                TId = this.TId,
                TMId = this.TMId,
                TOriginalPay = this.TOriginalPay,
                TActualPay = this.TActualPay,
                TIntegral = this.TIntegral,
                TAddress = this.TAddress,
                TTime = this.TTime,
                TIsDel = this.TIsDel,
                MemberInfo=this.MemberInfo.ToPOCO()
            };
        }
    }
}